package com.qf.java2107.yb.hotel.dao;

import com.qf.java2107.yb.hotel.pojo.User;

import java.sql.SQLException;

/**
 * @author yb
 * @version 1.0
 * @date 2021-10-27
 **/
public interface UserDao {
    /**
     * 根据姓名查询用户姓名
     * @param username
     * @return
     * @throws SQLException
     */
    User findByUsername(String username) throws SQLException;

}
